﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using DataAnnotationsExtensions;
using System.Web.Mvc;

namespace BenzInfo.Hockey.Grenadiers.Models
{
    [Table("HotNews")]
    public class HotNews
    {
        [Key]
        public int Id { get; set; }

        [DataType(DataType.Url)]
        [Display(Name = "DisplayLink", ResourceType = typeof(Resources.Models.HotNews))]
        public string Link { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "DisplayContentEN", ResourceType = typeof(Resources.Models.HotNews))]
        public string ContentEN { get; set; }

        [Required]
        [DataType(DataType.MultilineText)]
        [Display(Name = "DisplayContentFR", ResourceType = typeof(Resources.Models.HotNews))]
        public string ContentFR { get; set; }
    }
}